JavaScript

Number Functions

Description

Utility JavaScript functions for working with numbers.

Name
Description
$u.n.round Function

Round a number to a specified number of decimal places.

$u.n.toPlaceStr Function

Convert a number into a place string (i.e. "1st", "2nd", "3rd", "4th", "105th"...)

$u.n.toStr Function

Convert a number into a string.